﻿using System;
using System.Linq;

class Program
{
    static void Main()
    {
        Student[] students =
        {
            new Student("Aksel","Ferzuev"),
            new Student("Valeri","Manchev"),
            new Student("Vasil","Vasilev"),
            new Student("Hristo","Bahnev")

        };
        var sortedStudents =
            from student in students
            where student.FirstName.CompareTo(student.SecondName) == -1
            select student;

        foreach (var student in sortedStudents)
        {
            Console.WriteLine(student.FirstName+" "+student.SecondName);
        }

    }
}